import { http } from '../common/axios_config/axios_config.js'

/***这是一个不属于具体模块的api文件 */

//获取二维码登录的key,这个key用来获取登录的二维码
export const qrCodeKey = data => http('/login/qr/key', data, 'GET')
//二维码生成接口
export const qrCodeLogin = data => http('/login/qr/create', data, 'GET')
//二维码检测扫码状态接口 ,即检查是否扫码已确认登录，800 为二维码过期,801 为等待扫码,802 为待确认,803 为授权登录成功
export const qrCodeState = data => http('/login/qr/check', data, 'GET')


///获取音乐 url - 新版
export const songUrl = data => http('song/url/v1', data, 'GET')
//获取歌曲歌词 /lyric
export const lyric = data => http('/lyric', data, 'GET')